package org.ninjarope.cinderstained.main.gameplay.definition;


/**
 * Encapsulation of stats
 * 
 * @author miroslav
 * 
 */
public class Stat {
	public int base;
	public int up;
	public int current;
	public boolean percent;
	/**
	 * Constructor.
	 */
	public Stat() {
		base = up = current = 0;
		percent = false;
	}

	public void copy(Stat b) {
		this.base = b.base;
		this.current = b.current;
		this.percent = b.percent;
		this.up = b.up;
	}
	
	/**
	 * Value constructor.
	 * 
	 * @param b
	 *            base
	 * @param u
	 *            up by level
	 * @param c
	 *            current value
	 */
	public Stat(int b, int u, int c, boolean p) {
		base = b;
		up = u;
		current = c;
		percent = p;
	}
}
